{if $done}
<table cellspacing="0" width="100%" class="forumline">
    <tr>
        <td class="row-header"><span>{language text='Mod_Admin.update_counters'}</span></td>
    </tr>
    <tr>
    	<td class="row1">
    		{language text='Mod_Admin.done.'}
    	</td>
    </tr>
    <tr>
    	<td class="catBottom" colspan="2" style="text-align:center;">
    		<input type="button" value="{language text='Mod_Admin.go_back'}" onclick="window.location.href='{url link='admin.counters'}';" />
    	</td>
    </tr>
</table>
{else}
{if $refresh}
<table cellspacing="0" width="100%" class="forumline">
    <tr>
        <td class="row-header"><span>{language text='Mod_Admin.update_counters'}</span></td>
    </tr>
    <tr>
    	<td class="row1">
    		{$refresh}
    	</td>
    </tr>
</table>
{else}

<form method="post" action="{url link='admin.counters'}">
<div><input type="hidden" name="type" value="user-totals" /></div>
<div><input type="hidden" name="total" value="1" /></div>
<table cellspacing="0" width="100%" class="forumline">
    <tr>
        <td class="row-header" colspan="2"><span>{language text='Mod_Admin.users_total_points'}</span></td>
    </tr>
    <tr>
    	<th colspan="2">{language text='Mod_Admin.update_a_users_total'}</th>
    </tr>
    <tr>
    	<td class="row1" style="text-align:right;">
    		{language text='Mod_Admin.enter_user_name'}:
    	</td>
    	<td class="row1">
    		<input type="text" name="user_name" value="" size="40" />
    	</td>
    </tr>
    <tr>
    	<td class="catBottom" colspan="2" style="text-align:center;">
    		<input type="submit" value="{language text='Mod_Admin.go'}" name="go" />
    	</td>
    </tr>
</table>
</form>
<br />


<form method="post" action="{url link='admin.counters'}">
<div><input type="hidden" name="type" value="friends" /></div>
<table cellspacing="0" width="100%" class="forumline">
    <tr>
        <td class="row-header" colspan="2"><span>{language text='Mod_Admin.friends_count'}</span></td>
    </tr>
    <tr>
    	<th colspan="2">{language text='Mod_Admin.update_total_friends'}</th>
    </tr>
    <tr>
    	<td class="row1" style="text-align:right;">
    	{language text='Mod_Admin.total_to_update'}:
    	</td>
    	<td class="row1">
    	<input type="text" name="total" value="500" size="40" />
    	</td>
    </tr>
    <tr>
    	<td class="catBottom" colspan="2" style="text-align:center;">
    		<input type="submit" value="{language text='Mod_Admin.go'}" name="go" />
    	</td>
    </tr>
</table>
</form>

<br />
<form method="post" action="{url link='admin.counters'}">
<div><input type="hidden" name="type" value="groups" /></div>
<table cellspacing="0" width="100%" class="forumline">
    <tr>
        <td class="row-header" colspan="2"><span>{language text='Mod_Admin.groups_count'}</span></td>
    </tr>
    <tr>
    	<th colspan="2">{language text='Mod_Admin.update_the_group'}</th>
    </tr>
    <tr>
    	<td class="row1" style="text-align:right;">
    	{language text='Mod_Admin.total_to_update'}:
    	</td>
    	<td class="row1">
    	<input type="text" name="total" value="5" size="40" />
    	</td>
    </tr>
    <tr>
    	<td class="catBottom" colspan="2" style="text-align:center;">
    		<input type="submit" value="{language text='Mod_Admin.go'}" name="go" />
    	</td>
    </tr>
</table>
</form>

<br />
<form method="post" action="{url link='admin.counters'}">
<div><input type="hidden" name="type" value="user_comments" /></div>
<table cellspacing="0" width="100%" class="forumline">
    <tr>
        <td class="row-header" colspan="2"><span>{language text='Mod_Admin.user_comments_count'}</span></td>
    </tr>
    <tr>
    	<th colspan="2">{language text='Mod_Admin.update_profile_comments'}</th>
    </tr>
    <tr>
    	<td class="row1" style="text-align:right;">
    	{language text='Mod_Admin.total_to_update'}:
    	</td>
    	<td class="row1">
    	<input type="text" name="total" value="500" size="40" />
    	</td>
    </tr>
    <tr>
    	<td class="catBottom" colspan="2" style="text-align:center;">
    		<input type="submit" value="{language text='Mod_Admin.go'}" name="go" />
    	</td>
    </tr>
</table>
</form>

<br />
<form method="post" action="{url link='admin.counters'}">
<div><input type="hidden" name="type" value="blog_comments" /></div>
<table cellspacing="0" width="100%" class="forumline">
    <tr>
        <td class="row-header" colspan="2"><span>{language text='Mod_Admin.blog_comments_count'}</span></td>
    </tr>
    <tr>
    	<th colspan="2">{language text='Mod_Admin.update_blog_count'}</th>
    </tr>
    <tr>
    	<td class="row1" style="text-align:right;">
    	{language text='Mod_Admin.total_to_update'}:
    	</td>
    	<td class="row1">
    	<input type="text" name="total" value="500" size="40" />
    	</td>
    </tr>
    <tr>
    	<td class="catBottom" colspan="2" style="text-align:center;">
    		<input type="submit" value="{language text='Mod_Admin.go'}" name="go" />
    	</td>
    </tr>
</table>
</form>

<form method="post" action="{url link='admin.counters'}">
<div><input type="hidden" name="type" value="gallery_comments" /></div>
<table cellspacing="0" width="100%" class="forumline">
    <tr>
        <td class="row-header" colspan="2"><span>{language text='Mod_Admin.image_comments_count'}</span></td>
    </tr>
    <tr>
    	<th colspan="2">{language text='Mod_Account.update_total_image'}</th>
    </tr>
    <tr>
    	<td class="row1" style="text-align:right;">
    	{language text='Mod_Admin.total_to_update'}:
    	</td>
    	<td class="row1">
    	<input type="text" name="total" value="500" size="40" />
    	</td>
    </tr>
    <tr>
    	<td class="catBottom" colspan="2" style="text-align:center;">
    		<input type="submit" value="{language text='Mod_Admin.go'}" name="go" />
    	</td>
    </tr>
</table>
</form>

<br />
<form method="post" action="{url link='admin.counters'}">
<div><input type="hidden" name="type" value="forum_topics" /></div>
<table cellspacing="0" width="100%" class="forumline">
    <tr>
        <td class="row-header" colspan="2"><span>{language text='Mod_Admin.forum_topics_count'}</span></td>
    </tr>
    <tr>
    	<th colspan="2">{language text='Mod_Admin.update_topics_count'}</th>
    </tr>
    <tr>
    	<td class="row1" style="text-align:right;">
    	{language text='Mod_Admin.total_to_update'}:
    	</td>
    	<td class="row1">
    	<input type="text" name="total" value="5" size="40" />
    	</td>
    </tr>
    <tr>
    	<td class="catBottom" colspan="2" style="text-align:center;">
    		<input type="submit" value="{language text='Mod_Admin.go'}" name="go" />
    	</td>
    </tr>
</table>
</form>

<br />
<form method="post" action="{url link='admin.counters'}">
<div><input type="hidden" name="type" value="forum_posts" /></div>
<table cellspacing="0" width="100%" class="forumline">
    <tr>
        <td class="row-header" colspan="2"><span>{language text='Mod_Admin.forum_posts_count'}</span></td>
    </tr>
    <tr>
    	<th colspan="2">{language text='Mod_Admin.update_post_count'}</th>
    </tr>
    <tr>
    	<td class="row1" style="text-align:right;">
    	{language text='Mod_Admin.total_to_update'}:
    	</td>
    	<td class="row1">
    	<input type="text" name="total" value="100" size="40" />
    	</td>
    </tr>
    <tr>
    	<td class="catBottom" colspan="2" style="text-align:center;">
    		<input type="submit" value="{language text='Mod_Admin.go'}" name="go" />
    	</td>
    </tr>
</table>
</form>


{/if}
{/if}